package com.ruoyi.yipaiju.service;

import com.ruoyi.yipaiju.domain.DiligenceReportOrder;
import com.wechat.pay.java.service.payments.jsapi.model.PrepayResponse;
import com.wechat.pay.java.service.payments.jsapi.model.PrepayWithRequestPaymentResponse;
import com.wechat.pay.java.service.payments.model.Transaction;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IWechatPayService {


    PrepayResponse createJsapiOrder(int productId, String openid, String outTradeNo, long foreclosedId) ;

    Transaction handleCallback(HttpServletRequest request);

    Transaction queryOrder(String outTradeNo);

    List<DiligenceReportOrder> queryOrderList();

}
